//
//  QRScanner.h
//  HelloCordova
//
//  Created by Aim on 2018/12/4.
//

#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, QRScannerError){
    unexpected_error = 0,
    camera_access_denied = 1,
    camera_access_restricted = 2,
    back_camera_unavailable = 3,
    front_camera_unavailable = 4,
    camera_unavailable = 5,
    scan_canceled = 6,
    light_unavailable = 7,
    open_settings_unavailable = 8
};

@interface QRScanner : CDVPlugin

@end

NS_ASSUME_NONNULL_END
